package com.gitee.huxing.course.conc.conc02.lock;

/**
 * @Description:
 * @ProjectName: JavaCourse
 * @Package: com.gitee.huxing.course.conc.conc02.lock
 * @ClassName: ThreadA
 * @Author: huxingmale
 * @DateTime: 2021-08-24 21:36
 */
public class ThreadB extends Thread{

    private Count3 count3;

    public ThreadB(Count3 count3){
        this.count3 = count3;
    }

    public void run(){
        count3.lockMethod();
    }
}
